package org.smarthings.things.automation.rest.resources;

import java.util.Collection;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.smarthings.things.commons.rest.PaginatedCollectionResource;


@XmlType(name = "rules")
@XmlRootElement(name = "rules")
public class RuleColleactionResource extends PaginatedCollectionResource {

	private Collection<RuleResource> items;

	@XmlElement(name = "items", required = false)
	public Collection<RuleResource> getItems() {
		return items;
	}

	public void setItems(Collection<RuleResource> items) {
		this.items = items;
	}

}
